package com.cdc.taskhandler;

import android.support.v7.app.AppCompatActivity;

/**
 * Created by cdc on 2018/5/3.
 */

public class Item {
    private String mainTitle;
    private String subTitle;
    private Class<? extends AppCompatActivity> claz;

    public String getMainTitle() {
        return mainTitle;
    }

    public void setMainTitle(String mainTitle) {
        this.mainTitle = mainTitle;
    }

    public String getSubTitle() {
        return subTitle;
    }

    public void setSubTitle(String subTitle) {
        this.subTitle = subTitle;
    }

    public Class<? extends AppCompatActivity> getClaz() {
        return claz;
    }

    public void setClaz(Class<? extends AppCompatActivity> claz) {
        this.claz = claz;
    }

    public Item(){}

    public Item(String mainTitle, String subTitle, Class<? extends AppCompatActivity> claz) {
        this.mainTitle = mainTitle;
        this.subTitle = subTitle;
        this.claz = claz;
    }
}
